\hypertarget{class_q_qt_open_g_l_widget}{}\section{Q\+Qt\+Open\+G\+L\+Widget Class Reference}
\label{class_q_qt_open_g_l_widget}\index{Q\+Qt\+Open\+G\+L\+Widget@{Q\+Qt\+Open\+G\+L\+Widget}}


The \mbox{\hyperlink{class_q_qt_open_g_l_widget}{Q\+Qt\+Open\+G\+L\+Widget}} class 为了简便，用这一个，\+Q\+G\+L\+Widget.  




{\ttfamily \#include $<$qqtopenglwidget.\+h$>$}

Inheritance diagram for Q\+Qt\+Open\+G\+L\+Widget\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_q_qt_open_g_l_widget}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_ac7b852b2db5b23e1d47147fc0faafb50}\label{class_q_qt_open_g_l_widget_ac7b852b2db5b23e1d47147fc0faafb50}} 
{\bfseries Q\+Qt\+Open\+G\+L\+Widget} (Q\+Widget $\ast$parent=nullptr)
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a0d2ea963f768cad188417d02e9f1a04e}\label{class_q_qt_open_g_l_widget_a0d2ea963f768cad188417d02e9f1a04e}} 
Q\+G\+L\+Functions $\ast$ {\bfseries gl\+Funcs} () const
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a77c72ece8c9ca8bcef1c7881f60f1abf}\label{class_q_qt_open_g_l_widget_a77c72ece8c9ca8bcef1c7881f60f1abf}} 
void {\bfseries use\+Custom\+Context} (Q\+G\+L\+Context $\ast$context)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a506d451fd93c86357dd592bf17a33847}\label{class_q_qt_open_g_l_widget_a506d451fd93c86357dd592bf17a33847}} 
virtual void {\bfseries initialize\+GL} () override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_acf0d60b4a6e63b509bb0b107241ca119}\label{class_q_qt_open_g_l_widget_acf0d60b4a6e63b509bb0b107241ca119}} 
virtual void {\bfseries resize\+GL} (int w, int h) override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a4fda7dab434c8db8f91a4130696a2f8e}\label{class_q_qt_open_g_l_widget_a4fda7dab434c8db8f91a4130696a2f8e}} 
virtual void {\bfseries paint\+GL} () override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_afd8be7063a3a421c476195105dae0edd}\label{class_q_qt_open_g_l_widget_afd8be7063a3a421c476195105dae0edd}} 
virtual void {\bfseries initialize\+Overlay\+GL} () override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a0a258c0ef83db7ac75b2548f14339580}\label{class_q_qt_open_g_l_widget_a0a258c0ef83db7ac75b2548f14339580}} 
virtual void {\bfseries resize\+Overlay\+GL} (int w, int h) override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_ab7e9a60837e16af7c4c4bbcd3ccfb411}\label{class_q_qt_open_g_l_widget_ab7e9a60837e16af7c4c4bbcd3ccfb411}} 
virtual void {\bfseries paint\+Overlay\+GL} () override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a9b8ada1eabd86bda334d7e37ffae3a9d}\label{class_q_qt_open_g_l_widget_a9b8ada1eabd86bda334d7e37ffae3a9d}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event) override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a9fa1422ef2c17db60619ce1dc86d746b}\label{class_q_qt_open_g_l_widget_a9fa1422ef2c17db60619ce1dc86d746b}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event) override
\item 
\mbox{\Hypertarget{class_q_qt_open_g_l_widget_a644890826eb85cdf28926d5c9c6d3fa5}\label{class_q_qt_open_g_l_widget_a644890826eb85cdf28926d5c9c6d3fa5}} 
virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event) override
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \mbox{\hyperlink{class_q_qt_open_g_l_widget}{Q\+Qt\+Open\+G\+L\+Widget}} class 为了简便，用这一个，\+Q\+G\+L\+Widget. 

现在遇到的问题： Q\+Open\+G\+L\+Widget need? Q\+Core\+Application\+::set\+Attribute(\+Qt\+::\+A\+A\+\_\+\+Use\+Desktop\+Open\+G\+L); 程序直接去调用了\+Open\+GL E\+S库，而在\+Open\+GL E\+S库中是不支持gl\+Begin()等函数的，所以我们需要让程序去连接到\+Open\+G\+L库 Windows平台 支持 Android平台 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/openglwidgets/qqtopenglwidget.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/openglwidgets/qqtopenglwidget.\+cpp\end{DoxyCompactItemize}
